package com.hs.dnms.model;

import java.util.Set;
import java.util.TreeSet;

import com.hs.auth.model.HsAccount;

/**
 * DnmsBook entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class DnmsBook extends com.hs.core.model.BaseBean implements java.io.Serializable {

	// Fields

	private long id;
	private String itemno;
	private String bookname;
	private String author;
	private String compile;
	private String compileunit;
	private String publishhouse;
	private String publishplace;
	private String isbn;
	private String edition;
	private String wordnumber;
	private String booksize;
	private String themewords;
	private String abstract_;
	private String classcode;
	private String firstclass;
	private String secondclass;
	private String diseaseclass;
	private String diseasename;
	private String originaltext;
	private String lastitem;
	private String nextitem;
	private String chapter;
	private String pagenumber;
	private String enterperson;
	private String enterdate;
//	private String pictureproducer;
//	private String dataproducer;
	private String state;
	private String publishdate;
	private String dynasty;
	private HsAccount pictureproducer;
	private HsAccount dataproducer;
	private Set fileset = new TreeSet();
    private Set disset = new TreeSet();
	// Constructors

	/** default constructor */
	public DnmsBook() {
	}

	/** full constructor */
	public DnmsBook(String itemno, String bookname, String author,
			String compile, String compileunit, String publishhouse,
			String publishplace, String isbn, String edition,
			String wordnumber, String booksize, String themewords,
			String abstract_, String classcode, String firstclass,
			String secondclass, String diseaseclass, String diseasename,
			String originaltext, String lastitem, String nextitem,
			String chapter, String pagenumber, String enterperson,
			String enterdate, String pictureproducer, String dataproducer,
			String state,String publishdate,String dynasty) {
		this.itemno = itemno;
		this.bookname = bookname;
		this.author = author;
		this.compile = compile;
		this.compileunit = compileunit;
		this.publishhouse = publishhouse;
		this.publishplace = publishplace;
		this.isbn = isbn;
		this.edition = edition;
		this.wordnumber = wordnumber;
		this.booksize = booksize;
		this.themewords = themewords;
		this.abstract_ = abstract_;
		this.classcode = classcode;
		this.firstclass = firstclass;
		this.secondclass = secondclass;
		this.diseaseclass = diseaseclass;
		this.diseasename = diseasename;
		this.originaltext = originaltext;
		this.lastitem = lastitem;
		this.nextitem = nextitem;
		this.chapter = chapter;
		this.pagenumber = pagenumber;
		this.enterperson = enterperson;
		this.enterdate = enterdate;
//		this.pictureproducer = pictureproducer;
//		this.dataproducer = dataproducer;
		this.state = state;
		this.publishdate = publishdate;
		this.dynasty = dynasty;
	}

	// Property accessors

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getItemno() {
		return this.itemno;
	}

	public void setItemno(String itemno) {
		this.itemno = itemno;
	}

	public String getBookname() {
		return this.bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getCompile() {
		return this.compile;
	}

	public void setCompile(String compile) {
		this.compile = compile;
	}

	public String getCompileunit() {
		return this.compileunit;
	}

	public void setCompileunit(String compileunit) {
		this.compileunit = compileunit;
	}

	public String getPublishhouse() {
		return this.publishhouse;
	}

	public void setPublishhouse(String publishhouse) {
		this.publishhouse = publishhouse;
	}

	public String getPublishplace() {
		return this.publishplace;
	}

	public void setPublishplace(String publishplace) {
		this.publishplace = publishplace;
	}

	public String getIsbn() {
		return this.isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getEdition() {
		return this.edition;
	}

	public void setEdition(String edition) {
		this.edition = edition;
	}

	public String getWordnumber() {
		return this.wordnumber;
	}

	public void setWordnumber(String wordnumber) {
		this.wordnumber = wordnumber;
	}

	public String getBooksize() {
		return this.booksize;
	}

	public void setBooksize(String booksize) {
		this.booksize = booksize;
	}

	public String getThemewords() {
		return this.themewords;
	}

	public void setThemewords(String themewords) {
		this.themewords = themewords;
	}

	public String getAbstract_() {
		return this.abstract_;
	}

	public void setAbstract_(String abstract_) {
		this.abstract_ = abstract_;
	}

	public String getClasscode() {
		return this.classcode;
	}

	public void setClasscode(String classcode) {
		this.classcode = classcode;
	}

	public String getFirstclass() {
		return this.firstclass;
	}

	public void setFirstclass(String firstclass) {
		this.firstclass = firstclass;
	}

	public String getSecondclass() {
		return this.secondclass;
	}

	public void setSecondclass(String secondclass) {
		this.secondclass = secondclass;
	}

	public String getDiseaseclass() {
		return this.diseaseclass;
	}

	public void setDiseaseclass(String diseaseclass) {
		this.diseaseclass = diseaseclass;
	}

	public String getDiseasename() {
		return this.diseasename;
	}

	public void setDiseasename(String diseasename) {
		this.diseasename = diseasename;
	}

	public String getOriginaltext() {
		return this.originaltext;
	}

	public void setOriginaltext(String originaltext) {
		this.originaltext = originaltext;
	}

	public String getLastitem() {
		return this.lastitem;
	}

	public void setLastitem(String lastitem) {
		this.lastitem = lastitem;
	}

	public String getNextitem() {
		return this.nextitem;
	}

	public void setNextitem(String nextitem) {
		this.nextitem = nextitem;
	}

	public String getChapter() {
		return this.chapter;
	}

	public void setChapter(String chapter) {
		this.chapter = chapter;
	}

	public String getPagenumber() {
		return this.pagenumber;
	}

	public void setPagenumber(String pagenumber) {
		this.pagenumber = pagenumber;
	}

	public String getEnterperson() {
		return this.enterperson;
	}

	public void setEnterperson(String enterperson) {
		this.enterperson = enterperson;
	}

	public String getEnterdate() {
		return this.enterdate;
	}

	public void setEnterdate(String enterdate) {
		this.enterdate = enterdate;
	}

//	public String getPictureproducer() {
//		return this.pictureproducer;
//	}
//
//	public void setPictureproducer(String pictureproducer) {
//		this.pictureproducer = pictureproducer;
//	}
//
//	public String getDataproducer() {
//		return this.dataproducer;
//	}
//
//	public void setDataproducer(String dataproducer) {
//		this.dataproducer = dataproducer;
//	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getPublishdate() {
		return publishdate;
	}

	public void setPublishdate(String publishdate) {
		this.publishdate = publishdate;
	}

	public HsAccount getPictureproducer() {
		return pictureproducer;
	}

	public void setPictureproducer(HsAccount pictureproducer) {
		this.pictureproducer = pictureproducer;
	}

	public HsAccount getDataproducer() {
		return dataproducer;
	}

	public void setDataproducer(HsAccount dataproducer) {
		this.dataproducer = dataproducer;
	}

	public Set getFileset() {
		return fileset;
	}

	public void setFileset(Set fileset) {
		this.fileset = fileset;
	}

	public Set getDisset() {
		return disset;
	}

	public void setDisset(Set disset) {
		this.disset = disset;
	}

	public String getDynasty() {
		return dynasty;
	}

	public void setDynasty(String dynasty) {
		this.dynasty = dynasty;
	}
	
}